//
//  ContactCell.h
//  timelyRain
//
//  Created by Jiafei Wei on 16/9/18.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TContact.h"
@protocol ContactCellDelegate;
@interface ContactCell : UITableViewCell
{
    UILongPressGestureRecognizer *_headerLongPress;
}

@property (weak, nonatomic) id<ContactCellDelegate> delegate;
@property (strong, nonatomic) NSIndexPath *indexPath;
@property (strong, nonatomic) TContact *data;
@property (weak, nonatomic) IBOutlet UIImageView *image;
+(instancetype)setContactCellWithTableView:(UITableView *)tableView;
@end

@protocol ContactCellDelegate <NSObject>

- (void)cellImageViewLongPressAtIndexPath:(NSIndexPath *)indexPath;
@end
